﻿<UserControl x:Class="LiSAClient.WpfClient.View.Frame.Wait"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:animationControl="clr-namespace:LiSAClient.WpfClient.AnimationControl"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid ZIndex="10000">
        <!--<Rectangle Opacity="0.5" Fill="Black"/>-->
        <Grid>
            <Border Background="White" HorizontalAlignment="Center" VerticalAlignment="Center" CornerRadius="10" Padding="10">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="200"/>
                    </Grid.ColumnDefinitions>
                    <animationControl:LoadingAnimation HorizontalAlignment="Center" VerticalAlignment="Center" Margin="6"/>
                    <TextBlock Text="{Binding Text}" Foreground="{StaticResource LiSABlue}" Margin="6" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" TextWrapping="Wrap" />
                </Grid>
            </Border>
        </Grid>
    </Grid>
</UserControl>
